package order.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import common.model.result.Result;
import order.service.CouponServiceFeignClient;
import common.model.result.ResultCodeEnum;

@Service
public class CouponServiceFeignClientFallback implements CouponServiceFeignClient {
    @Override
    public Result getCouponByCode(List<String> couponCodes, Long userId, String orderNo) {
        return Result.failure(ResultCodeEnum.FAIL, "优惠券服务异常");
    }
}
